module.exports = {
  outputDir: "counter-dist",
  lintOnSave: false,
  productionSourceMap: false,
  devServer: {
    host: "0.0.0.0",
    proxy: {
      "/": {
        ws: false, // 添加该配置以支持 WebSocket 代理
        target: "http://127.0.0.1:7001",
        changeOrigin: true,
        logLevel: "debug",
        pathRewrite: {  
        },
      },
    },
  },
};
